package com.tudouji.project.organization.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import com.tudouji.project.product.domain.Brand;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 渠道管理对象 channel
 *
 * @author wf
 * @date 2021-04-21
 */
@Data
public class Channel {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String guid;

    /**
     * 渠道部门id
     */
    @Excel(name = "渠道部门id")
    private String departid;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 操作人id
     */
    private String operatorid;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String operator;

    /**
     * 最后更新日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastupdate;

    /**
     * 品牌id
     */
    @Excel(name = "品牌id")
    private String brandid;

    /**
     * $column.columnComment
     */
    private String brand;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    private Department department;

    private Brand cbrand;

    private Long deptId;

    private Long createBy;

}
